home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / lockdir.man < prev    next >
Encoding:
Text File  |  1990-07-19  |  1.0 KB  |  69 lines

  1.  
  2.  
  3.  
  4. lockdir                   User Commands                   lockdir
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      lockdir - Lock a directory atomically
  12.  
  13. SSYYNNOOPPSSIISS
  14.      lloocckkddiirr [_f_i_l_e_n_a_m_e]
  15.  
  16. OOPPTTIIOONNSS
  17.      _f_i_l_e_n_a_m_e       Name of file to use for the lock (defaults to
  18.                     ..//LLOOCCKK).
  19.  
  20. _________________________________________________________________
  21.  
  22.  
  23. DDEESSCCRRIIPPTTIIOONN
  24.      This is a simple program to acquire a lock on  a  directory.
  25.      It  waits for up to 10 minutes before giving up.  It exits 0
  26.      if the lock was acquired  and  non-zero  otherwise.   If  no
  27.      argument  is given, it assumes it is in the proper directory
  28.      and just uses the file LLOOCCKK iinn tthhee ccuurrrreenntt ddiirreeccttoorryy..
  29.  
  30. KKEEYYWWOORRDDSS
  31.      lock, atomic,
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. Sprite v.1.0         Printed:  July 19, 1990                    1
  66.  
  67.  
  68.  
  69.